﻿using System;

namespace GurLoader.Service.Mailslot
{
    public class CommandEventArgs : EventArgs
    {
        public CommandEventArgs(string command)
        {
            if ( string.IsNullOrEmpty(command))
                throw new ArgumentException("command must not be null.");

            Command = command;
        }

        public string Command { get; private set; }
    }
}